import { stringify } from 'qs';
import request from '../utils/request';
import host from './host';
import {getAuthToken} from '../utils/authority';


export async function queryAuthor(params) {
  return request(`${host.host}/bearadmin/author?${stringify(params)}&authToken=${getAuthToken()}`);
}
